package com.cykj.shop.domain.dto;

/**
 * @BelongsProject: Cykj-Order-System
 * @BelongsPackage: com.cykj.shop.domain.dto
 * @Author: cwx
 * @CreateTime: 2025/8/31 15:42
 * @Description:
 * @Version: 1.0
 */


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
@Data
public class ProductDTO {

    private long id;
    private String productName;
    private long categoryId;
    private double price;
    private String description;
    private String productImage;
    private long monthlySales;
    private long stock;
    private long status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    private long shopId;
    private String categoryName;

}
